Method, system, and program product for retrieving file processing software

ABSTRACT

A system, method, and program product for accessing or retrieving on a computer network the required software to process a file is disclosed. According to the invention, it is determined, when accessing a file, whether or not software required to process this file is already installed on the user&#39;s computing device, depending upon the type of the file. If the required software is not installed on the user&#39;s device, the address of a server from which this software can be downloaded or accessed through the network is extracted and decoded from the filename of the accessed file. A browser or file transfer program is launched on the user&#39;s computing device and a request for the required software package is sent from the user&#39;s computing device to the server corresponding to the decoded address from which it is downloaded or accessed. The software is then unpacked, if necessary, and installed so as to process the accessed file.

FIELD OF THE INVENTION

The present invention relates generally to network computing and to software accessed on demand in computer networks, and more specifically to a method and system for locating and accessing the software to process a file.

BACKGROUND OF THE INVENTION

The use of global distribution systems such as the Internet for distribution of digital assets like electronic documents, music, film, pictures, games and other content continues to grow. Digital assets are commonly distributed or accessed through networks as computer files.

When such files are accessed or retrieved through a network on a client computer, the client may utilize or process the file with the appropriate software. The types of files are generally recognizable with the extensions at the end of the filenames. This information is used by the operating system to launch the right program when the user clicks on or selects the filename. For example, file.txt represents a text file that can be opened with a text editor program. If a HyperText Markup Language (hereinafter referred to as “HTML”) document is accessed, a client's web browser may parse the HTML document so as to display the document. Likewise, if a word processing document is accessed, the client may activate a word processor program to open the document. Alternatively, if an image file is retrieved, an image viewer or an image editor may be activated to process and display the image.

Based on the type of information or resource that is being accessed, a client may need additional functionality. For example, a video and sound clip file may require the capability to view the video and sound clip in a certain format. The added capabilities needed to process accessed files have to be installed on the client computer. Usually, the added capabilities that are installed onto the client computer are referred to as “plug-ins” or helper programs. Thus, when additional capabilities are needed, a plug-in or a helper program is downloaded (i.e. retrieved) and installed on or added to the client computer.

Various data files are typically classified into specific data file types. Upon receiving or accessing a file, the client will typically examine the file extension characterizing the file type, to determine how to process the file, e.g. launch an adapted application program to process the file. As described hereinabove, the file processing may consist of launching an application that has been installed as a plug-in for a browser.

When files are sent as attachments of e-mails through networks, these files must be encoded for transmission. The standard Internet protocol for sending attachments is based upon an encoding scheme called Multipurpose Internet Mail Extensions (hereinafter referred to as “MIME”), designed by the Internet Engineering Task Force. MIME is a specification for formatting non-ASCII messages so that these messages may be sent over networks such as the Internet. MIME enables many browsers to display and output files that are not in an HTML format. In a similar manner, e-mail applications supporting MIME can send and receive files (e.g. image, audio, and video files) via the Internet mail system. MIME types typically identify a content type and allow a browser or server to select the correct type of viewer for a file. There are many predefined MIME types, such as GIF graphics files and PostScript files.

One feature of MIME is that a sending e-mail program inserts a field in outgoing messages identifying what type of files are contained within the encoded attachment. By looking at the information in the MIME header inserted by the sending program, a program which receives the attachments can handle these attachments adequately. For example, if the MIME header identifies an attachment as a spreadsheet (e.g. MIME type=application/ms-excel), then the receiving e-mail program can launch the appropriate spreadsheet program to open the attached file.

Two things need to be done to make sending and receiving MIME attachments work smoothly. First, all users must agree on a common set of names for different attachment types. For example, all e-mail programs should identify Excel (Excel is a Trademark of Microsoft Corp.) spreadsheet attachments with the MIME type of “application/ms-excel”, or “text/html” for an attached HTML web page. Secondly, users must initialize their e-mail programs by associating programs with types of attachments. For instance, when using Internet Explorer (Internet Explorer is a Trademark of Microsoft Corp.) as a web browser, the e-mail program must be informed of using Internet Explorer when receiving and processing an attachment of type “text/html”.

When a user receives a file through a network and selects the file for processing (e.g. by clicking on the icon of a file attached to a received e-mail), the user needs the corresponding software. As the number of different possible types of digital assets grows, the number of different possible types of files and the corresponding resources that are required for processing these assets also grows. Further, each different type of file may require a different application, helper or plug-in program to access, process, or display each individual file type. Since the resources needed for processing all possible types of files cannot be stored in advance on a client computer, there is a need in the art for a user to be able to obtain access to specific resources from a network (e.g. from the Internet network) for processing specific types of files.

FIG. 1 illustrates the standard solution of the prior art to deal with such requirements. In the given example, a user receives e-mail 100 including a file attachment, e.g. Adobe Portable Document Format (hereinafter referred to as “PDF”) file 110, having name 120 Authentication.pdf (Adobe is a Trademark of Adobe Corp.).

Adobe Acrobat Reader software (Acrobat is a Trademark of Adobe Corp.) or other software products able to process PDF files must be installed on a user's computer system (also referred to hereinbelow as “user's device”) for processing the attached file. When the user tries one of the options “View . . . ” or “Launch . . . ”, the user's device attempts to locate the software adapted to process MIME file type “PDF”. If no such software is found, the user receives error message 130, for example, “Sorry, an application to open this document cannot be found” as illustrated.

Therefore, when the software required for processing a file is not installed on the user's device, the user faces several problems that are not trivial for most people (e.g. those who are not expert in information technology and computing systems), as follows:

-   -   identify which software is required;     -   identify and locate on the network a provider of this software;     -   identify the address, e.g. a Uniform Resource Locator         (hereinafter referred to as “URL”), of the provider's software         repository for downloading the software and,     -   download and install the required software on the user's device.

Therefore, there is a need in the art for a system and a method for providing easily, on-demand, and transparently, the required software to process an accessed or received file.

OBJECTS AND SUMMARY OF THE INVENTION

Thus, it is an object of the present invention to remedy the shortcomings of the prior art as described hereinabove.

It is another object of the present invention to provide a system and method for delivering software required to process files over a communications network.

It is yet another object of the present invention to provide a system and method for automatically locating the repository of a software or plug-in required to process a file.

It is yet another object of the present invention to provide a system and method to automatically install or update the software or plug-in required to process a file.

In accordance with one embodiment of the invention, there is provided a method for encoding in a filename of a file, an address from which software required to process the file can be accessed, the method comprising encoding the address from which the software required to process the file can be accessed, merging a primary filename of the file and the encoded address in a new filename, wherein the primary filename and the encoded address are separated by at least one control character, and renaming the file with the new filename.

In accordance with another embodiment of the invention, there is provided a method for processing a file having a filename in which an address is encoded for software required to process the file, the method comprising extracting the encoded address, decoding the encoded address, accessing the software required to process the file using the decoded address, and processing the file using the accessed software.

In accordance with yet another embodiment of the invention, there is provided a system for encoding in a filename of a file, an address from which software required to process the file can be accessed, the system comprising means for encoding the address from which the software required to process the file can be accessed, means for merging a primary filename of the file and the encoded address in a new filename, wherein the primary filename and the encoded address are separated by at least one control character, and means for renaming the file with the new filename.

In accordance with yet another embodiment of the invention, there is provided a system for processing a file having a filename in which an address is encoded for software required to process the file, the system comprising means for extracting the encoded address, means for decoding the encoded address, means for accessing the software required to process the file using the decoded address, and means for processing the file using the accessed software.

In accordance with yet another embodiment of the invention, there is provided a program product stored on a recordable medium for encoding in a filename of a file, an address from which software required to process the file can be accessed, which when executed, comprises program code for encoding the address from which the software required to process the file can be accessed, program code for merging a primary filename of the file and the encoded address in a new filename, wherein the primary filename and the encoded address are separated by at least one control character, and program code for renaming the file with the new filename.

In accordance with yet another embodiment of the invention, there is provided a program product stored on a recordable medium for processing a file having a filename in which an address is encoded for software required to process the file, which when executed, comprises, program code for extracting the encoded address, program code for decoding the encoded address, program code for accessing the software required to process the file using the decoded address, and program code for processing the file using the accessed software.

Further advantages of the present invention will become apparent to ones skilled in the art upon examination of the attached drawings and detailed description. It is intended that any additional advantages be incorporated herein.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 depicts a standard solution of the prior art for handling files attached to an e-mail.

FIGS. 2 a, 2 b, and 2 c depict an example of an algorithm used for encoding, in a filename of a file, the address or URL of software that is required to process this file in accordance with one embodiment of the present invention.

FIG. 3 depicts a network environment wherein the present invention may be implemented.

FIG. 4 depicts an example of an algorithm to locate, download, and install a required application in accordance with one embodiment of the present invention.

BEST MODE FOR CARRYING OUT THE INVENTION

According to the present invention, the filename of a file that is accessed locally or through a computer network is used to encode the address, or URL, of an application, or plug-in, that is adapted to process this file, using a particular lexicography. The lexicography that is used is determined so as to avoid particular characters that may be forbidden by a given file system, e.g. “\” with Microsoft Windows operating system (Windows is a Trademark of Microsoft Corp.), and/or to encode the addresses so as to reduce address sizes. Addresses to be encoded may be of any forms (e.g. local addresses, addresses in private networks, or Internet addresses), however, for sake of illustration, the examples given in the following description are based on URL type of addresses. The address of the required software or plug-in may be encoded either when the file is transmitted from a server to a user system, or when the file is locally saved or transmitted to another system.

FIGS. 2 a, 2 b, and 2 c depict an example of an algorithm used to encode the required software address. As shown in FIG. 2 a, step 200 comprises getting the primary filename of the file (i.e. the filename of the file before encoding the software address), and step 205 comprises getting the address or URL of the software (hereinafter referred to as “software address”) that is required to process this file. The software address is encoded in step 210, and merged in step 215 with the primary filename of the file, using particular separators (also referred to hereinbelow as a “control character”), in one example a parenthesis, before the file is renamed with a new filename comprising the primary filename and the encoded software address in step 220.

FIG. 2 b depicts an example of encoding algorithm 210. A variable i is set to zero in step 225 and the i^(th) character is extracted from the software address string in step 230. A test is performed in step 235 to determine whether the extracted character is valid or otherwise forbidden by filename syntax rules imposed by the file system of the user's device. If the extracted character is a valid filename character, variable i is incremented in step 250 and a test is performed in step 255 to determine if variable i has reached its maximum value, that is, if all characters of the software address string have been processed. If variable i has not reached its maximum value, the last four steps of the algorithm are repeated (i.e. steps 230 to 255). Otherwise, if variable i has reached its maximum value, the process is stopped. If the character extracted from the software address string is forbidden by the filename syntax rules, a corresponding valid character, or group of characters, is selected from lexicography table 245 and this selected character, or group of characters, replaces the forbidden character in step 240. Variable i is then incremented in step 250 and the test described hereinabove is performed in step 255 to determine if variable i has reached its maximum value.

As an illustration of the algorithm described hereinabove, consider the case of a file based on Adobe PDF named “authentication.pdf”, that a user would like to send to someone else as an e-mail attachment using a lexicography table having predetermined characters and associated characters, to encode the software address string into the filename, wherein:

character “:” is associated to “..”

character “/” is associated to “(”

To view this document file, an application named Adobe Acrobat Reader must be used. If this application is not installed, it could be freely downloaded from the following URL:

-   -   http://www.adobe.com/products/acrobat/readstep2.html

When the originator of the Adobe PDF document “authentication.pdf” attaches the document to an e-mail, an option such as “Embedding software ADDR . . . ” may be selected to encode the URL of the software repository, wherein the software required to process the PDF document can be accessed at:

-   -   http://www.adobe.com/products/acrobat/readstep2.html         and the filename is modified according to the algorithm depicted         in FIGS. 2 a and 2 b. By using the lexicography table described         hereinabove, the software repository URL is encoded as follows:     -   http..((www.adobe.com(products(acrobat(readstep2.html         The encoded URL is then merged with the filename. In this         example, the encoded URL is enclosed in parenthesis that are         used as separators. The encoded URL is inserted in front of the         extension dot of the primary filename, as follows:     -   authentication(http..((www.adobe.com(products(acrobat(readstep2.html).pdf         The file is then renamed using this modified filename.

It should be noted that, for sake of illustration, this encoding algorithm is purposely very simple. A preferred algorithm would comprise replacing a sequence of forbidden characters by single characters (e.g. replacing “//:” by “(”). In a similar manner, some sets of characters may be replaced by more compact codes (e.g. replacing “http://” by “H!”). Using such compression as described hereinabove serves to optimize encoding, and reduce the size of an encoded software address.

FIG. 2 c depicts e-mail 100′ wherein filename 120′ of attached file 110′ has been modified to embed the URL of the required software address.

When the attachment of the above mentioned e-mail is selected to be processed, a test is performed to determine whether or not the software application, or plug-in, required to process this file is locally installed. To process (e.g. read) this file 110′, Adobe Acrobat Reader software must be installed on the user's device. If the software is not currently installed, the software would need to be downloaded from a server (i.e. a software repository on the Internet).

Using the same table of lexicographic transformations that has been used by the sender of the file, the software address or URL is extracted and decoded from the filename. To that end, certain symbols or groups of symbols of the “encoded URL” are replaced by symbols or characters that are compatible with URL conventions on the Internet, as mentioned hereinabove, to get the decoded and valid URL, as follows:

-   -   http://www.adobe.com/products/acrobat/readstep2.html

As depicted in FIG. 3, Web browser program 310 is activated on user's device 300 and extracted URL 320 is copied in the Web browser address field. This decoded URL, extracted from the filename of the attached or accessed file, transmits a request through Internet network 330 to at least one of a plurality of software application repository servers, generally referred to as server 340-1 through server 340-n in FIG. 3. In the given example, the software application repository server 340-2 is www.adobe.com and accessed file 350 is the HTML download utility software page readstep2.html.

The requested download utility software is received and displayed on the user's device. In one example, download utility software asks the user to specify a set of parameters or options, such as language, platform or operating system, and connection speed. Those selections are used to determine which version of the software needs to be downloaded.

Using the parameters specified by the user with the download utility software, the requested software is then downloaded from software application repository 340-2 to the user's device 300 where the software is installed (once decompressed, if required) and launched to process the attached or accessed file. When the file has been processed, the downloaded software may be deleted or stored, depending upon operating system parameters or user needs.

While the present invention allows for encoding of the address of the software required to process a file, additional information relative to the software may also be encoded, such as the particular version of software needed for processing the file.

FIG. 4 depicts in further detail, the algorithm described hereinabove for processing an attached, accessed, or received file having a filename that has been encoded according to the present invention. After having accessed the file to be processed in step 400, in one example by double-clicking on an icon for the file, a test is performed in step 405 to determine whether or not a software address is encoded within the filename. If an encoded software address is embedded within the filename, another test is done in step 410 to determine whether or not the software is already installed on the client's device. If the software is not installed, the encoded software address is extracted from the filename in step 415 and decoded in step 420 using the lexicography table that was used during encoding step 245. A test is then performed in step 425 to determine if the filename comprises encoded options or not. If the filename comprises encoded options, the options are extracted in step 430 and decoded in step 435 using lexicography table 245 that was used during the encoding step. Naturally, the lexicography tables that are used to encode/decode software addresses and options can be different.

When the software address and the options are available, the system accesses the referenced download utility software in step 440. The user may be asked to select other options or enter some parameters in steps 445 and 450, such as language, as mentioned hereinabove. The required software is then downloaded in step 455, installed in step 460, and the file is processed in step 465. The process performed on the file varies according to the type of file and the software access conditions (for example, the connection speed, the kind of software license, and the like). Such a process may comprise, for example, displaying or editing the content of the file.

When the file is closed, depending upon operating system parameters or user needs, as mentioned hereinabove, the software that has been installed can be removed automatically or upon user's request in steps 470 and 475, or can even be permanently stored on local disk if free distribution of the installed software is permitted.

If the required software is already installed on the client's device, a test is done in step 480 to determine whether or not options are encoded within the filename. If options are encoded within the filename, the options are extracted and decoded in steps 430 and 435 as mentioned hereinabove, and a new test is performed to check if, for example, there are options about the minimum version number required for processing the received file. If this is the case, the indicated minimum required version number is compared with the version number of the already installed software in step 485. If, as a result of this test, a new version must be installed, the required software is accessed and installed in the manner described in steps 415 to 465 hereinabove. In such a case, the requested software is preferably stored on permanent storage on the user's device, not being removed once the attached, accessed, or received file has been processed, as suggested with dotted lines. Naturally, depending upon operating system parameters or user needs, the old version of the software may be removed.

In cases where a software address is not embedded within the filename in step 405, or when the required software is already installed on the user's device in step 410, or there are not options encoded as parameters within the filename in step 480, the received file would be immediately processed using already installed software in step 465.

In the illustrative example described hereinabove, the software required to process the attached, accessed, or received file is downloaded before being installed on the user's device with the aim of processing the file. However, it must be understood that the software could be partially executed from a remote server, without being locally installed on the user's device. This may be the case with a transcoding application (e.g. when the format of a received document file must be converted to a format compatible with the user's device) so as to enable the user to view the received document in the small display of a handheld computing device. In this case, the file to be processed (e.g. transcoded) may be parsed or adapted on the server wherein the software is located, and locally displayed on the user's device with a standard file viewer.

Therefore, using the present invention, the user automatically downloads the software package needed for processing an attached, accessed, or received file, which presents several advantages, to wit:

-   -   the software required for processing the file is automatically         identified     -   the provider, and the address or URL of the required software is         automatically determined     -   the version of the installed software may be checked to forewarn         users on new existing versions     -   the software required for processing the file could be         automatically installed on the client's device

Naturally, in order to satisfy local and specific requirements, a person skilled in the art may apply to the solution described hereinabove, modifications and alterations all of which, however, are included within the scope of protection of the invention as defined by the following claims. 

1. A method for encoding in a filename of a file, an address from which software required to process said file can be accessed, said method comprising: encoding said address from which said software required to process said file can be accessed; merging a primary filename of said file and the encoded address in a new filename, wherein said primary filename and the encoded address are separated by at least one control character; and renaming said file with said new filename.
 2. The method of claim 1, wherein said encoding said address from which said software required to process said file can be accessed comprises: analyzing said address from which said software required to process said file can be accessed to detect predetermined characters; and replacing said predetermined characters by associated characters, wherein said predetermined and associated characters are stored in a lexicography table.
 3. The method of claim 1, wherein the encoded address is merged in said new filename by inserting the encoded address in front of an extension dot of said primary filename.
 4. The method of claim 1, further comprising compressing the encoded address so as to reduce the size of the encoded address.
 5. The method of claim 1, wherein information relative to the software required to process said file is encoded with the encoded address.
 6. A method for processing a file having a filename in which an address is encoded for software required to process said file, said method comprising: extracting the encoded address; decoding the encoded address; accessing said software required to process said file using the decoded address; and processing said file using the accessed software.
 7. The method of claim 6, further comprising extracting and decoding encoded options relative to said software.
 8. The method of claim 6, wherein said accessing said software required to process said file comprises: downloading said software required to process said file using the decoded address; and installing said software required to process said file.
 9. The method of claim 6, further comprising determining if said software required to process said file is already locally installed.
 10. A system for encoding in a filename of a file, an address from which software required to process said file can be accessed, said system comprising: means for encoding said address from which said software required to process said file can be accessed; means for merging a primary filename of said file and the encoded address in a new filename, wherein said primary filename and the encoded address are separated by at least one control character; and means for renaming said file with said new filename.
 11. The system of claim 10, wherein said means for encoding said address from which said software required to process said file can be accessed comprises: means for analyzing said address from which said software required to process said file can be accessed to detect predetermined characters; and means for replacing said predetermined characters by associated characters, wherein said predetermined and associated characters are stored in a lexicography table.
 12. The system of claim 10, wherein the encoded address is merged in said new filename by inserting the encoded address in front of an extension dot of said primary filename.
 13. The system of claim 10, further comprising means for compressing the encoded address so as to reduce the size of the encoded address.
 14. The system of claim 10, wherein information relative to the software required to process said file is encoded with the encoded address.
 15. A system for processing a file having a filename in which an address is encoded for software required to process said file, said system comprising: means for extracting the encoded address; means for decoding the encoded address; means for accessing said software required to process said file using the decoded address; and means for processing said file using the accessed software.
 16. The system of claim 15, further comprising means for extracting and decoding encoded options relative to said software.
 17. The system of claim 15, wherein said means for accessing said software required to process said file comprises: means for downloading said software required to process said file using the decoded address; and means for installing said software required to process said file.
 18. The system of claim 15, further comprising means for determining if said software required to process said file is already locally installed.
 19. A program product stored on a recordable medium for encoding in a filename of a file, an address from which software required to process said file can be accessed, which when executed, comprises: program code for encoding said address from which said software required to process said file can be accessed; program code for merging a primary filename of said file and the encoded address in a new filename, wherein said primary filename and the encoded address are separated by at least one control character; and program code for renaming said file with said new filename.
 20. The program product of claim 19, wherein said program code for encoding said address from which said software required to process said file can be accessed comprises: program code for analyzing said address from which said software required to process said file can be accessed to detect predetermined characters; and program code for replacing said predetermined characters by associated characters, wherein said predetermined and associated characters are stored in a lexicography table.
 21. The program product of claim 19, wherein the encoded address is merged in said new filename by inserting the encoded address in front of an extension dot of said primary filename.
 22. The program product of claim 19, further comprising program code for compressing the encoded address so as to reduce the size of the encoded address.
 23. The program product of claim 19, wherein information relative to the software required to process said file is encoded with the encoded address.
 24. A program product stored on a recordable medium for processing a file having a filename in which an address is encoded for software required to process said file, which when executed, comprises: program code for extracting the encoded address; program code for decoding the encoded address; program code for accessing said software required to process said file using the decoded address; and program code for processing said file using the accessed software.
 25. The program product of claim 24, further comprising program code for extracting and decoding encoded options relative to said software.
 26. The program product of claim 24, wherein said program code for accessing said software required to process said file comprises: program code for downloading said software required to process said file using the decoded address; and program code for installing said software required to process said file.
 27. The program product of claim 24, further comprising program code for determining if said software required to process said file is already locally installed. 